package com.zzyl.nursing.service;

import java.util.List;

import cn.hutool.db.PageResult;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDataDto;
import com.zzyl.nursing.dto.IotHealthDto;
import com.zzyl.nursing.dto.MemberUserAddDto;
import com.zzyl.nursing.vo.DataTimeDataValueVo;
import com.zzyl.nursing.vo.DataVo;
import com.zzyl.nursing.vo.FamilyMemberElderPageVo;
import com.zzyl.nursing.vo.FamilyMemberElderVo;

/**
 * 客户老人关联Service接口
 *
 * @author ruoyi
 * @date 2025-10-19
 */
public interface IFamilyMemberElderService extends IService<FamilyMemberElder> {

    /**
     * 新增绑定家人
     */
    void addBindFamily(MemberUserAddDto memberUserAddDto);

    /**
     * 查询老人家人列表
     * @return
     */
    List<FamilyMemberElderVo> getFamilyList();



    /**
     * 查看已绑定家人列表（分页查询）
     */
    List<FamilyMemberElderPageVo> getFamilyListPage(Integer pageNum, Integer pageSize);
    /**
     * 查看健康数据
     */
    DataVo QueryDevicePropertyStatus(IotHealthDto iotHealthDto);

    /**
     * 按天统计查询指标数据
     */
    List<DataTimeDataValueVo> queryDeviceDataListByDay(DeviceDataDto deviceDataDto);

    /**
     * 按周统计查询指标数据
     */
    List<DataTimeDataValueVo> queryDeviceDataListByWeek(DeviceDataDto deviceDataDto);
}
